<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>map2</title>
</head>
<body>
<script>
    var arr1 = ["千古", "宿敌", "南山忆", "素颜"];
    var arr2 = arr1.map(function (element, index, array) {
        return element + "vae";
    });
    console.log(arr1);
    console.log(arr2);
</script>
</body>
</html>